import { useState } from 'react';

export const usePetState = () => {
  const [petState, setPetState] = useState({
    name: '',
    type: '',
    age: 0,
    stage: 'baby',
    hunger: 80,
    happiness: 80,
    health: 90,
    energy: 100,
    cleanliness: 90,
    lastFed: Date.now(),
    lastPlayed: Date.now(),
    lastCleaned: Date.now(),
    isSleeping: false,
    isIll: false,
  });

  return [petState, setPetState];
};